package com.itheima.service;

import com.itheima.pojo.Option;
import com.itheima.pojo.Question;

import java.util.List;


public interface QuestionService {


    /**
     * 添加数据
     * @param question
     */
    void add(Question question);


    List<Question> selectAll(int sid);

    void addOption(Option option);

    List<Option> selectOption(int questionId);
}
